package com.guoliang.eduService.service.impl;

import com.guoliang.commonUtils.CommonResult;
import com.guoliang.eduService.service.VodClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ：Leo
 * @date ：Created in 2023/1/25 12:05
 * @description：
 */
@Component
@Slf4j
public class VodClientFallBack implements VodClient {
    @Override
    public CommonResult deleteVod(String id) {
        log.info("11111111111111111");
        return CommonResult.error().data("msg","服务器繁忙，请稍后再试");
    }

    @Override
    public CommonResult deleteBatch(List<String> videoIdList) {
        return CommonResult.error().data("msg","服务器繁忙，请稍后再试");
    }
}
